package clazz.abstracttest;

import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 2021/11/16
 */
public class TestClazz {

    private static final Logger logger = LoggerFactory.getLogger(TestClazz.class);

    @Test
    public void testOne(){
        AbstractTest one = new ChildOne();
        one.test4();
    }

    @Test
    public void testTwo(){
        AbstractTestOne testOne = new AbstractTestOneImplOne();
        Class<? extends AbstractTestOne> instance = testOne.getInstance();
        logger.info(String.valueOf(instance));
    }


}
